package com.freewater.parking.infrastructure.db;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

@Entity
@Table(name = "daily_revenue")
@Setter
@Getter
public class DailyRevenueTable {
    /**
     * 日期
     */
    @Id
    private LocalDate id;
    /**
     * 收入金额
     */
    private Integer revenue = 0;
}
